#ifndef __STDMSGQUEUE_H__
#define __STDMSGQUEUE_H__
#include<stdbool.h>
#include<stddef.h>
struct StdMsgQueue;
typedef struct StdMsgQueue MsgQ;

MsgQ *MsgQueueInit(const char *pathname, int proj_id);
bool ReadFromMsgQ(MsgQ *q, long type, void *p ,size_t size);
bool WriteToMsgQ(MsgQ *q,long type,void* p,size_t size);
void ClearMsgQ(MsgQ *q);
#endif